package cn.itsource.mapper;

import cn.itsource.bean.Department;
import cn.itsource.query.DepartmentQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author : 张金铭
 * @description :
 * @create :2022-11-07 11:56:00
 */
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Department> getPagexml(DepartmentQuery query);

    Long getTotal();


    List<Department> getAllFirst();

}
